<template>
  <div id="app" >
    <router-view/>
  </div>
</template>

<script>
export default {
  name: 'App',
  mounted () {
    window.addEventListener('unload', this.saveState)
  },
  methods: {
    saveState () {
      sessionStorage.setItem('state', JSON.stringify(this.$store.state))
    }
  }
}
</script>

<style>
  *{
    margin:0;
    padding: 0;
  }
a{
  color: #515a6e;
}
#app {
  font-family: "Arial","Microsoft YaHei","黑体","宋体",sans-serif;
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
}
  .ivu-menu-vertical {
    margin-left: 20px;
    text-align: left;
  }
  .step-s .ivu-steps-item{
    height: 100px;
  }
  .step-s .ivu-steps-vertical .ivu-steps-tail>i{
    width: 2px;
  }
</style>
